// ignore_for_file: depend_on_referenced_packages

import 'package:freezed_annotation/freezed_annotation.dart';

part 'IntIdAndName.g.dart';
part 'IntIdAndName.freezed.dart';

@freezed
class IntIdAndName with _$IntIdAndName{

  const factory IntIdAndName({
    required int id,
    required String name,
  }) = _IntIdAndName;

  const IntIdAndName._();

  factory IntIdAndName.fromJson(Map<String, dynamic> json) => _$IntIdAndNameFromJson(json);

}